"C语言格式缩进
set cindent shiftwidth=4

"语法高亮
syntax on

"显示行号
set number

"搜索高亮
set hlsearch

"检测文件的类型
filetype on

"文件格式插件开关
filetype plugin on

"编码设置
set enc=utf-8
set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2132,cp939

"语言设置
set langmenu=zh_CN.NTF-8
set helplang=cn

"设置配色方案
colorscheme freya 

"设置字体
set guifont=DejaVu\ Sans\ Mono\ 12,Microsoft\ Yahei\ 12,WenQuanYi\ Zen\ Hei\ 12

"把gui的工具栏去掉
set guioptions-=T

"把gui右边的滑动条去掉
set guioptions-=r

"把gui的菜单去掉
"set guioptions-=m

"设置启动大小
"set lines=36
"set columns=100

"设置复制的键盘映射
map cp "+y

"代码自动补全
set completeopt=longest,menu

